package com.jkoss.wine.warehouse.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;


/**
 * 出库订单详情
 * 
 * @Author Jason
 * @Version 1.0, 2018-11-30
 * @See
 * @Since com.jkoss.wine.warehouse.entity
 * @Description: TODO
 */
@TableName("ware_out_order_details")
public class WareOutOrderDetails extends Model<WareOutOrderDetails> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;
    /**
     * 出入库id
     */
    @TableField("ioid")
    private String ioid;
    /**
     * 仓库id
     */
    @TableField("whid")
    private String whid;
    /**
     * 总店商品规格id
     */
    @TableField("pnid")
    private String pnid;
    /**
     * 数量
     */
    @TableField("amut")
    private Integer amut;
    /**
     * 当操作人为null时，表示自动录入
     */
    @TableField("operator")
    private String operator;
    /**
     * 添加时间
     */
    @TableField("add_time")
    private Date addTime;
    /**
     * 是否删除：0-未删除、1-已删除、2-不能删除
     */
    @TableField("del")
    private Integer del;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIoid() {
        return ioid;
    }

    public void setIoid(String ioid) {
        this.ioid = ioid;
    }

    public String getWhid() {
        return whid;
    }

    public void setWhid(String whid) {
        this.whid = whid;
    }

    public String getPnid() {
        return pnid;
    }

    public void setPnid(String pnid) {
        this.pnid = pnid;
    }

    public Integer getAmut() {
        return amut;
    }

    public void setAmut(Integer amut) {
        this.amut = amut;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "WareOutOrderDetails{" +
        ", id=" + id +
        ", ioid=" + ioid +
        ", whid=" + whid +
        ", pnid=" + pnid +
        ", amut=" + amut +
        ", operator=" + operator +
        ", addTime=" + addTime +
        ", del=" + del +
        "}";
    }
}
